package com.google.samples.apps.worker

import android.content.Context
import android.os.Looper
import androidx.work.Worker
import androidx.work.WorkerParameters
import com.google.samples.apps.library_common.utils.LogUtils

/**
 * Created by Administrator on 2021/7/9 0009.
 * Describe:
 */
class UploadLogWorker(context: Context, workerParameters: WorkerParameters) :
    Worker(context, workerParameters) {
    override fun doWork(): Result {
        LogUtils.d("isMainUIThare ${Looper.getMainLooper() == Looper.myLooper()},inputData=${inputData}")
        return Result.success()
    }

}